/*

BlackRabbit - OpenSource IDE.
@author Edward Sarkisyan (edward.sarkisyan@gmail.com)
Use LGPL (http://www.gnu.org/copyleft/lesser.html)

*/

#ifndef LANGUAGEEXTENSIONINTERFACE_H
#define LANGUAGEEXTENSIONINTERFACE_H
#include <QtPlugin>
#include <QTableWidget>
#include "Qsci/qsciscintilla.h"

class Language
{
public:
    virtual ~Language(){}
    virtual const QString name()=0;
    virtual const QString author()=0;
    virtual QWidget* settings()=0;
    virtual bool openFile(QTabWidget*, QString)=0;
};

QT_BEGIN_NAMESPACE
Q_DECLARE_INTERFACE(Language,"SSC.BlackRabbit.Language/1.0")
QT_END_NAMESPACE

#endif // LANGUAGEEXTENSIONINTERFACE_H
